#ifndef CONTROLLER_H
#define CONTROLLER_H

#include "core/common/Packet.h"
#include "network/AbstractClient.h"

class Device;
class Server;

class Controller : public AbstractClient
{
public:
                Controller(Server* server, Device* device);
                ~Controller();

protected:
    void        run();

private:
    BasePacket* nextPacket();

    Device*     pDevice_;
};

#endif // CONTROLLER_H
